import { Component } from '@angular/core';
import {NavController, ModalController} from 'ionic-angular';
import {AddContentPage} from "../../components/add-content/add-content";

/*
  Generated class for the Content page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
*/
@Component({
  selector: 'page-story',
  templateUrl: 'story.html'
})
export class StoryPage {

  constructor(
    public navCtrl: NavController,
    public modalCtrl: ModalController
  ) {}

  reply() {

  }

  presentAddContent()
  {
    let modal = this.modalCtrl.create(AddContentPage, {
      title: 'Add Content'
    });
    modal.present();
  }

}
